import vue from '@vitejs/plugin-vue'
import { PluginOption } from 'vite'
import { setupMockjs } from './mock'
const setupPlugins = (command: string, env: Record<string, any>): PluginOption[] => {
   const plugins: PluginOption[] = [vue()]
   plugins.push(setupMockjs(command))
   return plugins
}

export default setupPlugins
